package com.wx.mall.sys.vo.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class UserPageReqVO {
    @ApiModelProperty("第几页")
    @NotNull(message = "当前也不能为空")
    private int pageNum = 1;
    @ApiModelProperty("当前页的数量")
    @NotNull(message = "当前页数量不能为空")
    private int pageSize;

    @ApiModelProperty("姓名/用户名")
    private String name;

    @ApiModelProperty("角色ID")
    private Integer roleId;

    @ApiModelProperty("排序：0用户名，1昵称")
    private Integer sort;

}
